//
//  Comment.swift
//  ReadHub
//
//  Created by testypp on 2018/1/3.
//  Copyright © 2018年 longyiqun. All rights reserved.
//

import Foundation


class Comment {
	
	// 私有成员
	private var _id: String? = ""
	private var _topicid: String? = ""
	private var _username: String? = ""
	private var _userid: String? = ""
	private var _time: String? = ""
	private var _commentstring: String? = ""
	private var _ishot: String? = ""
	
	//Get&Set方法
	var id: String? {
		get{
			return _id
		}
		set{
			_id = newValue
		}
	}
	
	var topicid: String? {
		get{
			return _topicid
		}
		set{
			_topicid = newValue
		}
	}
	
	var username: String? {
		get{
			return _username
		}
		set{
			_username = newValue
		}
	}
	
	var userid: String? {
		get{
			return _userid
		}
		set{
			_userid = newValue
		}
	}
	
	var time: String? {
		get{
			return _time
		}
		set{
			_time = newValue
		}
	}
	
	var commentstring: String? {
		get{
			return _commentstring
		}
		set{
			_commentstring = newValue
		}
	}
	
	var ishot: String? {
		get{
			return _ishot
		}
		set{
			_ishot = newValue
		}
	}
	
	
}
